package com.sftz.assets.entities.question;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

@Data
@Table("homework_answer_info")
public class HomeworkAnswerInfoEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	@Id(auto = true)
	private Integer id;

	@Column
	@Comment("用户id")
	private Integer studentId;

	@Column
	@Comment("用户昵称")
	private String studentName;

	@Column
	@Comment("答题开始时间")
	private Date startTime;

	@Column
	@Comment("完成时间")
	private Date finishTime;

	@Column
	@Comment("耗时")
	private Integer elapsedTime;

	@Column
	@Comment("作业id")
	private Integer taskId;

	@Column
	@Comment("答题状态(0:正在答题；1：提交)")
	private Integer status;

	@Column
	@Comment("是否审批(0:否，1:是)")
	private Integer isReadover;

	private String readoverName;

	@Column
	@Comment("批阅人id")
	private Integer approverId;

	@Column
	@Comment("批阅人昵称")
	private String approver;

	@Column
	@Comment("批阅时间")
	private Date approverDate;

	@Column
	@Comment("得分")
	private Double score;

	@Column
	@Comment("客观题得分")
	private Double objectScore;

	@Column
	@Comment("主观题得分")
	private Double subjectScore;

	@Column
	@Comment("自评")
	private String selfEval;

}